package zfl.fanglong.cn.dao;

import java.util.List;

import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;

import zfl.fanglong.cn.domain.User;

public class UserIBDAO extends SqlMapClientDaoSupport implements UserDAO {

	public List<User> findUsers(String sql, User user) {
		return this.getSqlMapClientTemplate().queryForList("findUsers");
	}

	public void insertUser(String sql, User user) {
		
		this.getSqlMapClientTemplate().insert("insertUser",user);

	}

}
